package com.example.demo.service;


import com.example.demo.domain.entity.Problem;
import com.example.demo.domain.entity.ProblemCategory;
import com.example.demo.domain.entity.ProblemType;
import com.example.demo.dto.ProblemCategoryDto;

import java.util.List;
import java.util.Map;

public interface ProblemService {

    List<Problem> getProblems() throws Exception;
    List<ProblemType> getProblemType() throws Exception;
    List<Integer> getProblemByPaper(int paper_id) throws Exception;


    List<ProblemCategory> getAllCategory();

    Map<String, Object> createProblemCategory(
            String problemCategorySlug, String problemCategoryName,
            String parentProblemCategorySlug, int showPriority);

    Map<String, Boolean> editProblemCategory(
            int problemCategoryId, String problemCategorySlug,
            String problemCategoryName, int showPriority);

    boolean deleteProblemCategory(int problemCategoryId);
}
